package com.automannn.springboot.practice.springApplicationBuilder;

import org.springframework.boot.Banner;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author automannn
 * @Date 2022/2/21
 */
public class SpringApplicationBuilderTest {
    public static void main(String[] args) {
        SpringApplicationBuilder builder = new SpringApplicationBuilder();
        builder.sources(SpringApplicationBuilderTest.class);
        builder.web(WebApplicationType.NONE);
        builder.bannerMode(Banner.Mode.OFF);
        builder.run(args);
    }
}
